package com.sgxy.wmservice.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Authoer: WGP
 * @CreateDate:2022/5/3
 * @Description:
 */
@Data
public class StoreVo {
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "仓库名")
    private String storeName;

    @ApiModelProperty(value = "仓库地址")
    private String storeAddress;

    @ApiModelProperty(value = "仓库状态")
    private Integer storeState;

    @ApiModelProperty(value = "负责人id")
    private String empId;
    @ApiModelProperty(value = "负责人名字")
    private String empName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
